<?php

namespace app\validate;

use think\Validate;

class EyScheduleValidate extends Validate
{

    protected $rule = [
        'doctorCode' => 'require|length:1,32',
        'scheduleDate' => 'require|length:1,32',
    ];

    protected $message = [
        'doctorCode.require' => 'doctorCode不能为空',
        'doctorCode.length' => 'doctorCode长度不能超过32位',
        'scheduleDate.require' => 'scheduleDate不能为空',
        'scheduleDate.length' => 'scheduleDate长度不能超过32位'
    ];

}